var geocoder;
  var map;
  function initialize() {
    geocoder = new google.maps.Geocoder();
    var latlng = new google.maps.LatLng(48.856614, 2.3407849999999826 );
   
    
    
    
  }

  function codeAddress() {
    var address = document.getElementById("address").value;
    geocoder.geocode(
	    { 'address': address}, 
	function(results, status) {
      
	  var locationFound = results[0].geometry.location;
    
       
		
		document.getElementById("lng").value = locationFound.lng();
		document.getElementById("lat").value = locationFound.lat();

     
    });
  }